package com.gtpickupapp;

import android.app.Activity;
import android.os.Bundle;


public class DatabaseActivity extends Activity {
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        DBAdapter db = new DBAdapter(this); 
    
    
      //---add 2 titles---
        db.open();        
        long id;
        id = db.insertTitle(
        		"0470285818",
        		"C# 2008 Programmer's Reference",
        		"Wrox");        
        id = db.insertTitle(
        		"047017661X",
        		"Professional Windows Vista Gadgets Programming",
        		"Wrox");
        db.close();

    
    }

    
}
